package channels4java;

import java.util.HashMap;

public class BehaviourConfiguration
{
	public static enum BehaviourParameter
	{
		
	}
	
	private HashMap<BehaviourParameter, String> parameters;
	
	public BehaviourConfiguration()
	{
		
	}
	
	public BehaviourConfiguration addParameter(BehaviourParameter key, String value)
	{
		if(key == null || value == null) throw new IllegalArgumentException("invalid parameter arguments");
		
		if(this.parameters == null) this.parameters = new HashMap<BehaviourParameter, String>();
		
		this.parameters.put(key, value);
		
		return this;
	}
	
	public String getParameter(BehaviourParameter param)
	{
		if(this.parameters == null) return null;
		else return this.parameters.get(param);
	}
}
